package buisness.local.hibernate.service;

import java.util.List;

import buisness.local.hibernate.dao.IAnimeDao;
import buisness.local.hibernate.dao.IFansubDao;
import buisness.local.hibernate.dao.impl.FansubDao;
import buisness.local.hibernate.model.Fansub;

public class BusinessService {
	
	private static IAnimeDao animeDao;
	private static FansubDao fansubDao = new FansubDao();
	
	public static List<Fansub> getAllFansub (){
		try {
			return fansubDao.list();
		} catch (Exception ex){
			//TODO
			ex.printStackTrace();
			return null;
		}
	}

}
